package com.zmht.beike.po;

import com.zmht.beike.util.AgeUtil;

/**
 * TCmonthinfo entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TCmonthinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer caimId;
	private Integer term;
	private Integer careaId;
	private String monthThemeName;
	private Integer teacherId;

	
	private Integer month;//月份
	private String areaName;
	//目标
	private TCaiminfo caiminfo;
	// Constructors

	public TCaiminfo getCaiminfo() {
		return caiminfo;
	}

	public void setCaiminfo(TCaiminfo caiminfo) {
		this.caiminfo = caiminfo;
	}

	/**
	 * @return the month
	 */
	public Integer getMonth() {
		return month;
	}

	/**
	 * @param month the month to set
	 */
	public void setMonth(Integer month) {
		this.month = month;
	}

	/** default constructor */
	public TCmonthinfo() {
	}

	/** full constructor */
	public TCmonthinfo(Integer caimId, Integer term, Integer careaId,
			String monthThemeName, Integer teacherId) {
		this.caimId = caimId;
		this.term = term;
		this.careaId = careaId;
		this.monthThemeName = monthThemeName;
		this.teacherId = teacherId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getCaimId() {
		return this.caimId;
	}

	public void setCaimId(Integer caimId) {
		this.caimId = caimId;
	}

	public Integer getTerm() {
		return this.term;
	}

	public void setTerm(Integer term) {
		this.term = term;
	}

	public Integer getCareaId() {
		return this.careaId;
	}

	public void setCareaId(Integer careaId) {
		this.careaId = careaId;
	}

	public String getMonthThemeName() {
		return this.monthThemeName;
	}

	public void setMonthThemeName(String monthThemeName) {
		this.monthThemeName = monthThemeName;
	}

	public Integer getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public String getAreaName() {
		
		areaName = AgeUtil.getAreaName(careaId+"");
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

}